/**
 * Project Name:dsrs-systemservice-domain
 * File Name:GroupCreateForm.java
 * Package Name:com.bwda.dsrs.systemservice.domain.form.group;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.form.group;

import com.bwda.dsrs.base.centerbase.condition.BaseCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 自定义组（创建条件）
 *
 * @author liangjianyong
 * @date 2019/4/13
 */
@Data
@ApiModel(description = "用户组,用户组名称不重复")
public class GroupCreateForm {

    @ApiModelProperty(value = "组名称")
    @Size(max = 80,min = 1,message = "组名称长度在1-80之间")
    private String groupName;

    @ApiModelProperty(value = "管理员编号")
    private String adminUserCode;

    @ApiModelProperty(value = "备注")
    @Size(max = 80,min = 0,message = "备注长度在0-80之间")
    private String remark;

    @ApiModelProperty(value = "0正常 1禁用")
    private Integer status;

    @ApiModelProperty(value = "用户code列表")
    private List<String> userCodeList;

}
